export const asyncRouterMap = [{
    path: '/',
    name: 'homes',
    hidden: false,
    redirect: '/Login',
    meta: {
      title: '登录'
    }
  },
  {
    path: '/Login',
    name: 'login',
    hidden: false,
    component: '/base/Login.vue',
    meta: {
      title: '登录'
    },
  },
  {
    path: '/Home',
    name: 'home',
    component: '/base/Home.vue',
    meta: {
      title: '主页'

    }
  },
  {
    path: '/404',
    name: '404',
    hidden: false,
    component: '/base/404.vue',
    meta: {
      title: '404'
    },
  }, {
    path: '*',
    name: 'red-404',
    hidden: false,
    redirect: '/404',
    meta: {
      title: '404'
    },
  },
  {
    path: '/test',
    name: 'test',
    component: 'LayOut',
    meta: {
      title: '首页',
      icon: "fa fa-home fa-fw"
    },
    children: [{
        path: '/Index',
        component: '/base/Home.vue',
        name: 'index',
        meta: {
          title: '测试1',
          icon: "fa fa-book fa-fw"
        }
      },
      {
        path: '/Indexs',
        component: '/page/test/test2.vue',
        name: 'indexs',
        meta: {
          title: '测试2'
        }
      }
    ]
  },
  {
    path: '/demo',
    name: 'demo',
    component: 'LayOut',
    meta: {
      title: '测试一级页'

    },
    children: [{
        path: '/demo1',
        component: '/page/test/test1.vue',
        name: 'demo1',
        meta: {
          title: '测试3'
        }
      },
      {
        path: '/demo2',
        component: '/page/test/test2.vue',
        name: 'demo2',
        meta: {
          title: '测试4'
        }
      }
    ]
  }
]